package com.taobao.api.response;

import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: cainiao.smartdelivery.cocps.i.query response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class CainiaoSmartdeliveryCocpsIQueryResponse extends TaobaoResponse {

	private static final long serialVersionUID = 4195248546798345952L;

	/** 
	 * 返回结果
	 */
	@ApiListField("smart_delivery_collaborate_cps_info_list")
	@ApiField("smart_delivery_collaborate_cps_info")
	private List<SmartDeliveryCollaborateCpsInfo> smartDeliveryCollaborateCpsInfoList;


	public void setSmartDeliveryCollaborateCpsInfoList(List<SmartDeliveryCollaborateCpsInfo> smartDeliveryCollaborateCpsInfoList) {
		this.smartDeliveryCollaborateCpsInfoList = smartDeliveryCollaborateCpsInfoList;
	}
	public List<SmartDeliveryCollaborateCpsInfo> getSmartDeliveryCollaborateCpsInfoList( ) {
		return this.smartDeliveryCollaborateCpsInfoList;
	}
	
	/**
 * 发货地址
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Address extends TaobaoObject {

	private static final long serialVersionUID = 7898633259443569842L;

	/**
		 * city
		 */
		@ApiField("city")
		private String city;
		/**
		 * 详细地址
		 */
		@ApiField("detail")
		private String detail;
		/**
		 * 区
		 */
		@ApiField("district")
		private String district;
		/**
		 * 省
		 */
		@ApiField("province")
		private String province;
		/**
		 * 街道
		 */
		@ApiField("town")
		private String town;
	

	public String getCity() {
			return this.city;
		}
		public void setCity(String city) {
			this.city = city;
		}
		public String getDetail() {
			return this.detail;
		}
		public void setDetail(String detail) {
			this.detail = detail;
		}
		public String getDistrict() {
			return this.district;
		}
		public void setDistrict(String district) {
			this.district = district;
		}
		public String getProvince() {
			return this.province;
		}
		public void setProvince(String province) {
			this.province = province;
		}
		public String getTown() {
			return this.town;
		}
		public void setTown(String town) {
			this.town = town;
		}

}

	/**
 * 电子面单中智能发货引擎支持的合作物流公司信息
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class SmartDeliveryCpInfo extends TaobaoObject {

	private static final long serialVersionUID = 8288531976946249983L;

	/**
		 * 网店code
		 */
		@ApiField("branch_code")
		private String branchCode;
		/**
		 * 网店名称
		 */
		@ApiField("branch_name")
		private String branchName;
		/**
		 * 物流公司编码
		 */
		@ApiField("cp_code")
		private String cpCode;
	

	public String getBranchCode() {
			return this.branchCode;
		}
		public void setBranchCode(String branchCode) {
			this.branchCode = branchCode;
		}
		public String getBranchName() {
			return this.branchName;
		}
		public void setBranchName(String branchName) {
			this.branchName = branchName;
		}
		public String getCpCode() {
			return this.cpCode;
		}
		public void setCpCode(String cpCode) {
			this.cpCode = cpCode;
		}

}

	/**
 * 返回结果
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class SmartDeliveryCollaborateCpsInfo extends TaobaoObject {

	private static final long serialVersionUID = 8776638133445624428L;

	/**
		 * 发货地址
		 */
		@ApiField("send_address")
		private Address sendAddress;
		/**
		 * 电子面单中智能发货引擎支持的合作物流公司信息
		 */
		@ApiListField("smart_delivery_cp_info_list")
		@ApiField("smart_delivery_cp_info")
		private List<SmartDeliveryCpInfo> smartDeliveryCpInfoList;
	

	public Address getSendAddress() {
			return this.sendAddress;
		}
		public void setSendAddress(Address sendAddress) {
			this.sendAddress = sendAddress;
		}
		public List<SmartDeliveryCpInfo> getSmartDeliveryCpInfoList() {
			return this.smartDeliveryCpInfoList;
		}
		public void setSmartDeliveryCpInfoList(List<SmartDeliveryCpInfo> smartDeliveryCpInfoList) {
			this.smartDeliveryCpInfoList = smartDeliveryCpInfoList;
		}

}



}
